<style type="text/css">
.form-signin {
	max-width: 850px;
	padding: 19px 29px 29px;
	margin: 0 auto 20px;
	background-color: #fff;
	border: 1px solid #e5e5e5;
	-webkit-border-radius: 16px;
	-moz-border-radius: 16px;
	border-radius: 16px;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.form-signin .form-signin-heading,.form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin input[type="text"],.form-signin input[type="password"] {
	font-size: 16px;
	height: auto;
	margin-bottom: 5px;
	padding: 7px 9px;
}
.login{
	max-width: 300px;
	margin: 0 auto 20px;
}
</style>

<form class="form-signin" action="" method="POST">
	<div class="login">
		<h2 class="form-signin-heading">Đăng nhập</h2>
		<?php if(isset($message) and $message){?>
		<div class="alert alert-error">
		<?php echo $message;?>
		</div>
		<?php } ?>
		<label> Email : <br /> <?php echo form_input($email);?> <?php echo form_error('email','<div class="alert alert-error">','</div>'); ?>
		</label> <label> Mật khẩu : <br /> <?php echo form_input($password);?>
		<?php echo form_error('password','<div class="alert alert-error">','</div>'); ?>
		</label> <label class="checkbox"> <input type="checkbox" value="remember-me"> Nhớ ? </label>
		<button name="submit" value="1" class="btn btn-large btn-primary" type="submit">Đăng nhập</button>
	</div>
</form>
<!-- /container -->
